package com.example.aftersales.service;

import com.example.aftersales.utils.Result;
import com.example.aftersales.entity.Ticket;

import java.util.List;

public interface ServiceTicketService {
    Result<List<Ticket>> getAllTickets();
    Result<List<Ticket>> getUserTickets(String userId);
    Result<Ticket> getTicketById(Long id);
    Result<String> submitTicket(Ticket ticket);
    Result<String> updateTicketStatus(Long ticketId, String newStatus, String newProgressStep);
}